package io.github.weiranyi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

// http://localhost/page/product/query/1
@SpringBootApplication
@EnableDiscoveryClient //支持zk，nacos等注册中心；@EnableEurekaClient仅支持Eureka
// @EnableCircuitBreaker // 启用熔断服务,使用Feign时就有了豪猪哥的依赖，不需要再写了，自动启用
@EnableFeignClients // 开启Feign
public class PageApplication81 {
    public static void main(String[] args) {
        SpringApplication.run(PageApplication81.class,args);
    }
}

